<template>
  <view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">受限空间名称：</text>
      <text class="special-work-list__value">{{ detail.workName }}</text>
    </view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">受限空间所属单位：</text>
      <text class="special-work-list__value">{{ detail.deptLabel }}</text>
    </view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">受限空间内原有介质名称：</text>
      <text class="special-work-list__value">{{ detail.insetName }}</text>
    </view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">作业负责人：</text>
      <text class="special-work-list__value">{{ detail.principalLabel }}</text>
    </view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">实施时间：</text>
      <text class="special-work-list__value">
        {{ actualDateLabel }}
      </text>
    </view>
    <view class="special-work-list__item">
      <text class="special-work-list__label">危害介质：</text>
      <text class="special-work-list__value">{{ ticket.hazardMediaLibList }}</text>
    </view>
  </view>
</template>

<script>
import { staticUrl } from '@/config.js'
export default {
  props: {
    detail: {
      type: Object,
      default: () => ({})
    },
    ticket: {
      type: Object,
      default: () => ({})
    },
    inspect: {
      type: Object,
      default: () => ({})
    },
    actualDateLabel: String
  },
  data() {
    return {
      staticUrl
    }
  }
}
</script>

<style scoped lang="scss">
@import '../style/style.scss';
</style>
